package com.hmall.api.cart;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;

/**
 * @author ljc
 * @version V1.0
 * @date 2025-03-16 11:06
 */
@FeignClient(name = "cart-service", path = "/inner/carts")
public interface CartInnerClient {

    @DeleteMapping
     void deleteCartItemByUserIdAndIds(@RequestParam("userId") Long userId,@RequestParam("ids") Collection<Long> ids);
}
